<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>网页菜单美化</title>
		<style>
			li{
				list-style: none;/*去掉条目默认格式*/
				float: left;/*向左浮动(即不换行)*/
				padding: 5px 10px 5px 10px;/*文字上下左右一起空*/
				border-radius: 10px;
				margin: 5px;/*文字+背景,上下左右一起空*/
				background-color: lightpink;
				font-weight: bold;
			}
			a{ 
			    text-decoration:none;
			    color:darkslategray;
			}
			
			li:hover{/*鼠标移入事件*/
				background-color: darkred;
				color: aliceblue;
				color
			}
			a:hover{
				color: #F0F8FF;
			}
		</style>
	</head>
	<body>
		<ul>
			<li><a target="_blank" href="https://www.w3school.com.cn/h.asp">W3school</li>
			<li><a target="_blank" href="https://www.runoob.com/">菜鸟教程</li>
			<li><a target="_blank" href="https://cnblogs.com/">博客园</li>
			<li><a target="_blank" href="https://www.csdn.net/">CSDN</li>
			<li><a target="_blank" href="https://segmentfault.com/">思否</li>
			
		</ul>
	</body>
</html>
